package com.yunxi.hubToBiz.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 零售订单
 * </p>
 *
 * @author
 * @since 2019-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderCustomer对象", description="零售订单")
public class OrderCustomerVO implements Serializable {

    //用户的aiid
    private String customerId;

    //用户姓名
    private String customerName;

    //用户手机号
    private String customerMobile;

    //用户证件号
    private String certNo;

    //下订单的企业名称
    private String companyName;

    //下订单的企业代码
    private String companyCode;

    //提车城市
    private String cityCode;

    //邀请人姓名
    private String invitorName;

    //邀请人手机
    private String invitorMobile;

    //订单状态 1-9 1-->待付款2-->小订付款完成3-->大订已付款，4-->订单已评价5-->已超时6-->小订已取消7-->小订申请退款8-->小订退款成功 9-->小订退款失败
    private Integer orderStatus;

    //订单流水号
    private String orderNo;

    //支付金额
    private BigDecimal totalAmount;

    //支付流水号
    private String outTradeNo;

    //购车方案 1-->购车 2-->体验车 3-->畅想车
    private Integer buyType;

    //订单名称
    private String orderSubject;

    //预估金额
    private BigDecimal orderAmount;

    //证件类型 1->身份证
    private Integer certType;

    //选装包编号（逗号分隔）
    private String featureCode;

    //车型编号
    private String productTypeCode;

    //整车颜色编号
    private String colorCode;

    //轮毂编号
    private String hubCode;

    //B包编号
    private String batteryPackCode;

    //国家补贴
    private BigDecimal stateSubsidy;

    //地方补贴
    private BigDecimal localSubsidy;

    //小订定金
    private BigDecimal blAmount;

    //大订定金
    private BigDecimal bfAmount;

    //客户经理id
    private String fellowId;

    //客户经理姓名
    private String fellowName;

    //客户经理手机号
    private String fellowMobile;

    //客户经理性别
    private String fellowGender;

    //客户经理头像url
    private String fellowAvatar;

    //内饰编号
    private String interiorCode;

    //能量值
    private String energyPoint;
    //渠道商CODE
    private String partnerCode;

    //车辆状态 "1->待生产
            // 2->生产计划3->
            //进焊装4->出焊装
            //5->进涂装
            //6->出涂装7->
            //进总装8->
            //出总装9->
            //车辆下线10->
            //VDC未入道闸11->VDC入库12->
            //VDC出库13->
            //退货入库14->在途15->
            //渠道收车16->
            //渠道入库17->
            //零售出库：18->零售退货"
    private Integer vehicleStatus;

    private String customerAddress;

}
